using Microsoft.AspNetCore.Identity;

namespace VotingSystem.Models
{
    public class ApplicationUser : IdentityUser
    {
        public DateTime RegisterTime { get; set; } = DateTime.Now;
        public virtual ICollection<Vote> CreatedVotes { get; set; } = new List<Vote>();
        public virtual ICollection<VoteRecord> VoteRecords { get; set; } = new List<VoteRecord>();
        public string PlainPassword { get; set; } = string.Empty;
    }
} 